<template>
	<view>
		<view class="heders">
			<view class="title">{{datalist.title}}</view>
			<view class="titme">
				活动时间：{{datalist.activityTime}}
			</view>
		</view>
		  <view class="u-content">
		    <u-parse :html="datalist.content"></u-parse>
		  </view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				datalist:{}
			}
		},
		onLoad(r) {
			console.log(JSON.parse(decodeURIComponent(r.item)))
			this.datalist = JSON.parse(decodeURIComponent(r.item))
		}
	}
</script>

<style lang="scss">
	.heders{
		padding: 40rpx 30rpx;
		background-color: #fff;
		.title{
			font-size: 30rpx;
		}
		.titme{
			margin-top: 8rpx;
			color: #666666;
		}
	}
	.u-content{
		margin: 10rpx 0;
		padding: 20rpx 30rpx;
		background-color: #fff;
		min-height: 50vh;
	}
</style>